
cd /d %~dp0

call checkbyport.bat tcp %1

if %portcount% equ 0 (
echo not exists
 exit 1 
) else (
echo ok
 exit 0 
)


